package com.yugao.fintech.antelope.shop.service.api;

import com.yugao.fintech.antelope.base.model.module.auth.LoginUser;
import com.yugao.fintech.antelope.shop.UmsMemberApi;
import com.yugao.fintech.antelope.shop.process.FumUserProcess;
import com.yugao.fintech.antelope.system.model.rqrs.log.LoginUserGetReq;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Primary
@Service
public class UmsMemberApiImpl implements UmsMemberApi {
    @Autowired
    private FumUserProcess fumUserProcess;

    @Override
    public LoginUser getLoginUser(LoginUserGetReq req) {
        return fumUserProcess.getLoginUser(req);
    }
}
